package com.wwg.springboard.shortcut;

import com.wwg.springboard.R;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class ShortcutUtils {

    public static List<Shortcut> getSubscribe() {
        List<Shortcut> result = new LinkedList<>();
        result.add(
                new Shortcut(
                        "书签书签书签书签",
                        "浏览器书签功能快捷入口",
                        "",
                        false,
                        R.drawable.ic_cqttech_bookmark
                )
        );
        result.add(
                new Shortcut(
                        "百度",
                        "常用搜索引擎网站",
                        "",
                        false,
                        R.drawable.ic_cqttech_baidu
                )
        );
        result.add(
                new Shortcut(
                        "腾讯视频",
                        "海量高清视频在线观看",
                        "",
                        false,
                        R.drawable.ic_cqttech_tencent_video
                )
        );
        result.add(
                new Shortcut(
                        "微博",
                        "随时随地发现新鲜事",
                        "",
                        false,
                        R.drawable.ic_cqttech_sina
                )
        );
        result.add(
                new Shortcut(
                        "知乎",
                        "有问题，上知乎",
                        "",
                        false,
                        R.drawable.ic_cqttech_zhihu
                )
        );
        result.add(
                new Shortcut(
                        "Bilibili",
                        "正版动画番剧连载",
                        "",
                        false,
                        R.drawable.ic_cqttech_bilibili
                )
        );
        result.add(
                new Shortcut(
                        "今日头条",
                        "看见更大的世界",
                        "",
                        false,
                        R.drawable.ic_cqttech_byte_dance
                )
        );
        result.add(
                new Shortcut(
                        "淘宝",
                        "万千好物淘不停",
                        "",
                        false,
                        R.drawable.ic_cqttech_taobao
                )
        );
        result.add(
                new Shortcut(
                        "历史记录",
                        "浏览器历史记录功能快捷入口",
                        "",
                        true,
                        R.drawable.ic_cqttech_history
                )
        );
        return result;
    }

    private static List<Module> getModules() {
        List<Module> result = new LinkedList<>();

        List<Shortcut> commonly = new ArrayList<>();
        commonly.add(
                new Shortcut(
                        "书签",
                        "浏览器书签功能快捷入口",
                        "",
                        false,
                        R.drawable.ic_cqttech_bookmark
                )
        );
        commonly.add(
                new Shortcut(
                        "历史记录",
                        "浏览器历史记录功能快捷入口",
                        "",
                        true,
                        R.drawable.ic_cqttech_history
                )
        );
        commonly.add(
                new Shortcut(
                        "百度",
                        "常用搜索引擎网站",
                        "",
                        false,
                        R.drawable.ic_cqttech_baidu
                )
        );
        result.add(new Module("常用", commonly));

        List<Shortcut> videos = new ArrayList<>();
        videos.add(
                new Shortcut(
                        "腾讯视频",
                        "海量高清视频在线观看",
                        "",
                        false,
                        R.drawable.ic_cqttech_tencent_video
                )
        );
        videos.add(
                new Shortcut(
                        "抖音",
                        "记录美好生活",
                        "",
                        false,
                        R.drawable.ic_cqttech_douyin
                )
        );
        videos.add(
                new Shortcut(
                        "爱奇艺",
                        "全网好剧热综看不停",
                        "",
                        false,
                        R.drawable.ic_cqttech_iqy
                )
        );
        videos.add(
                new Shortcut(
                        "芒果TV",
                        "天生青春",
                        "",
                        false,
                        R.drawable.ic_cqttech_mango
                )
        );
        videos.add(
                new Shortcut(
                        "快手",
                        "记录世界记录你",
                        "",
                        false,
                        R.drawable.ic_cqttech_kuaishou
                )
        );
        result.add(new Module("看视频", videos));

        List<Shortcut> surfing = new ArrayList<>();
        surfing.add(
                new Shortcut(
                        "微博",
                        "随时随地发现新鲜事",
                        "",
                        false,
                        R.drawable.ic_cqttech_sina
                )
        );
        surfing.add(
                new Shortcut(
                        "知乎",
                        "有问题，上知乎",
                        "",
                        false,
                        R.drawable.ic_cqttech_zhihu
                )
        );
        surfing.add(
                new Shortcut(
                        "Bilibili",
                        "正版动画番剧连载",
                        "",
                        false,
                        R.drawable.ic_cqttech_bilibili
                )
        );
        surfing.add(
                new Shortcut(
                        "小红书",
                        "美好生活分享社区",
                        "",
                        false,
                        R.drawable.ic_cqttech_xiaohongshu
                )
        );
        surfing.add(
                new Shortcut(
                        "豆瓣",
                        "电影、读书、音乐、同城",
                        "",
                        false,
                        R.drawable.ic_cqttech_douban
                )
        );
        surfing.add(
                new Shortcut(
                        "今日头条",
                        "看见更大的世界",
                        "",
                        false,
                        R.drawable.ic_cqttech_byte_dance
                )
        );
        result.add(new Module("冲浪", surfing));

        List<Shortcut> shopping = new ArrayList<>();
        shopping.add(
                new Shortcut(
                        "淘宝",
                        "万千好物淘不停",
                        "",
                        false,
                        R.drawable.ic_cqttech_taobao
                )
        );
        shopping.add(
                new Shortcut(
                        "京东",
                        "多快好省，只为品质生活",
                        "",
                        false,
                        R.drawable.ic_cqttech_jd
                )
        );
        shopping.add(
                new Shortcut(
                        "拼多多",
                        "新电商开创者",
                        "",
                        false,
                        R.drawable.ic_cqttech_pdd
                )
        );
        shopping.add(
                new Shortcut(
                        "当当网",
                        "海量图书，正品低价",
                        "",
                        false,
                        R.drawable.ic_cqttech_dangdang
                )
        );
        shopping.add(
                new Shortcut(
                        "苏宁易购",
                        "综合网上购物平台",
                        "",
                        false,
                        R.drawable.ic_cqttech_suning
                )
        );
        result.add(new Module("购物", shopping));

        List<Shortcut> service = new ArrayList<>();
        service.add(
                new Shortcut(
                        "QQ音乐",
                        "千万正版音乐，海量无损曲库",
                        "",
                        false,
                        R.drawable.ic_cqttech_qq_music
                )
        );
        service.add(
                new Shortcut(
                        "美团",
                        "吃喝玩乐全都有",
                        "",
                        false,
                        R.drawable.ic_cqttech_meituan
                )
        );
        service.add(
                new Shortcut(
                        "百度地图",
                        "全国地图，智慧交通",
                        "",
                        false,
                        R.drawable.ic_cqttech_baidu_map
                )
        );
        service.add(
                new Shortcut(
                        "携程",
                        "一站订酒店、机票、门票",
                        "",
                        false,
                        R.drawable.ic_cqttech_xiecheng
                )
        );
        service.add(
                new Shortcut(
                        "中国天气网",
                        "专业天气预报、气象服务",
                        "",
                        false,
                        R.drawable.ic_cqttech_china_weather
                )
        );
        service.add(
                new Shortcut(
                        "马蜂窝",
                        "旅游社交分享网站",
                        "",
                        false,
                        R.drawable.ic_cqttech_mafengwo
                )
        );
        result.add(new Module("生活服务", service));

        List<Shortcut> study = new ArrayList<>();
        study.add(
                new Shortcut(
                        "网易云阅读",
                        "海量新闻资讯图书小说",
                        "",
                        false,
                        R.drawable.ic_cqttech_wyy_read
                )
        );
        study.add(
                new Shortcut(
                        "中国知网",
                        "中国知识基础设施工程",
                        "",
                        false,
                        R.drawable.ic_cqttech_zhiwang
                )
        );
        result.add(new Module("学习社区", study));

        List<Shortcut> others = new ArrayList<>();
        others.add(
                new Shortcut(
                        "凤凰新闻",
                        "凤凰网是中国领先的综合门户网站,提供含文图音视频的全方位综合新闻资讯、深度访谈、观点评论、财经产品、互动应用、分享社区等服务,同时与凤凰无线、凤凰宽频形成三屏联动",
                        "http://xzandroid.cqttech.com/storage/user/20200721/9592da19ae1b079059cdfc3b464b1728.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "hao123",
                        "hao123是汇集全网优质网址及资源的中文上网导航。及时收录影视、音乐、小说、游戏等分类的网址和内容,让您的网络生活更简单精彩。上网,从hao123开始",
                        "http://xzandroid.cqttech.com/storage/user/20200721/748e88d66bf0b3244c930007b47b02df.png",
                        true
                )
        );
        others.add(
                new Shortcut(
                        "知乎",
                        "知乎,中文互联网高质量的问答社区和创作者聚集的原创内容平台",
                        "http://xzandroid.cqttech.com/storage/uploads/20200411/186ba8fe2aec227459eb9881841e6f66.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "淘宝",
                        "综合新闻资讯",
                        "http://xzandroid.cqttech.com/storage/user/20200721/924fa9ac3e61f64cd1c1c36d296a8390.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "京东",
                        "多快好省品质生活",
                        "http://xzandroid.cqttech.com/storage/user/20200721/5991f645caea54681fd8ee556afb79b5.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "虎扑",
                        "各有态度",
                        "http://xzandroid.cqttech.com/storage/uploads/20201124/fc7ef29be388f96783fc1f2e992e114b.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "腾讯视频",
                        "科技媒体",
                        "http://xzandroid.cqttech.com/storage/user/20200721/5b936bfc8ba7ae98e1c42c7fb98d18e3.png",
                        false
                )
        );
        others.add(
                new Shortcut(
                        "哔哩哔哩",
                        "互联网创业资讯",
                        "http://xzandroid.cqttech.com/storage/user/20200721/d3bcdca5ee8e99091f398d0c98bff4ac.png",
                        true
                )
        );
        others.add(
                new Shortcut(
                        "起点小说",
                        "泛科技媒体",
                        "http://xzandroid.cqttech.com/storage/user/20200721/ff91670701169ac04428f6a5c7a1e62c.png",
                        false
                )
        );
        result.add(new Module("其他", others));
        return result;
    }
}
